<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var arr = [1, 2, 3];
        console.log(arr.toString());
        console.log(arr.join('&'));
        // join() 可以加自定义连接符号，join是参加的意思，拼接自然就是字符串了
    </script>
</head>

<body>

</body>

</html>